package readytest;

/**
 * Created by leeping on 2016/3/21.
 */
public class Main {
	public static void main(String[] args) throws InterruptedException {
		Singleto singleto = Singleto.getSingleto();
		System.out.println(singleto.time);

		Thread.sleep(1000);
		Singleto singleto1 = Singleto.getSingleto();

		System.out.println(singleto1.time);

		ThreadTest threadTest = new ThreadTest();
		threadTest.start();

		ThreadRunable runable = new ThreadRunable();
		runable.run();
	}

}
